package cn.zhentao.charge.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备监控对象 charge_gun_monitor
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
public class ChargeGunMonitor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 充电站id */
    @Excel(name = "充电站id")
    private Integer gunId;

    /** 状态 0正常 1异常 */
    @Excel(name = "状态 0正常 1异常")
    private Integer status;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setGunId(Integer gunId) 
    {
        this.gunId = gunId;
    }

    public Integer getGunId() 
    {
        return gunId;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gunId", getGunId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
